package cn.kgc.feign;

import cn.kgc.grace.result.GraceJSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author kk
 * @version 1.0
 */
@FeignClient(value = "work-service",path = "/resume")
public interface ResumeFeignClient {
    @PostMapping("/app/init")
    GraceJSONResult initResume(@RequestParam("userId") String userId);

    @PostMapping("/refreshResume")
    GraceJSONResult refreshResume(
            @RequestParam("resumeId") String resumeId,
            @RequestParam("userId") String userId
    );
}